		<script type="text/javascript">
			//<![CDATA[
			$(function(){
				$("#frm-search").submit(function(){
					if($("[name=keyword]").val().trim()){
						location.replace('/popup/popupList/keyname/'+encodeURIComponent($("[name=keyname]").val())+'/keyword/'+encodeURIComponent($("[name=keyword]").val()));
					}
					return false;
				});
			});
				
			//]]>
			</script>
	<!--[s] 신규 회원가입 -->
		<div class="box_type02">
			<h2 class="txt">팝업관리</h2>
			<p class="icon"><a href="javascript:void(0);" class="icon_m04">매뉴얼</a></p>

			<!--[s] 검색 -->
			<form id="frm-search">
				<fieldset class="search_type01 c_box">
					<legend>검색</legend>
					<select name="keyname">
						<option value="title,popup_content">전체</option>
						<option value="title">제목</option>
					</select>
					<input type="text" id="" name="keyword" class="ip" style="width:176px;" title="검색어" value="" />
					<input type="submit" class="btn_search" title="검색" value="" />
	
					<a href="popupForm" class="right"><img src="/theme/<?=$_theme?>/images/common/btn_write.gif" alt="등록" /></a>
				</fieldset>
			</form>
			<!--[e] 검색 -->

			<!--[s] 목록 -->
			<table cellspacing="0" summary="팝업관리" class="lines">
				<caption>팝업관리</caption>
				<thead>
				<tr>
					<th scope="col" width="94">No.</th>
					<th scope="col">제목</th>
					<th scope="col" width="184">기간</th>
					<th scope="col" width="76">표시</th>
					<th scope="col" width="42">설정</th>
				</tr>
				</thead>
				<tbody>
				<?php 
					foreach($rst as $row){
				?>
				<tr>
					<th scope="row"><p><?php echo $list_no?></p></th>
					<td class="tal"><div><?php echo $row->title?></div></td>
					<td><div><?php echo $row->start_date?> ~ <?php echo $row->start_date?></div></td>
					<td><div><?php echo $row->open_yn?></div></td>
					<td><div><a href="popupForm/id/<?php echo $row->popup_id?>/page/<?php echo $page?>" class="icons icon_m01">설정</a></div></td>
				</tr>
				<?php 
						$list_no--;
					}
				?>
			
				</tbody>
			</table>
			<!--[e] 목록 -->
			<div class="paging_all c_box">
				<div class="paging">
					<?php echo $paging?>
				</div>
			</div>
			<!--[s] 페이징 -->
			
			<!--<div class="paging_all c_box">
				<div class="paging">
					<a href="javascript:void(0);"><img src="/theme/<?=$_theme?>/images/common/btn_prev2.gif" alt="처음" /></a>
					<a href="javascript:void(0);"><img src="/theme/<?=$_theme?>/images/common/btn_prev.gif" class="ml6" alt="이전" /></a>
					<span class="num">
						<strong>1</strong>
						<a href="javascript:void(0);">2</a>
						<a href="javascript:void(0);">3</a>
						<a href="javascript:void(0);">4</a>
						<a href="javascript:void(0);">5</a>
						<a href="javascript:void(0);">6</a>
						<a href="javascript:void(0);">7</a>
						<a href="javascript:void(0);">8</a>
						<a href="javascript:void(0);">9</a>
						<a href="javascript:void(0);">10</a>
					</span>
					<a href="javascript:void(0);"><img src="/theme/<?=$_theme?>/images/common/btn_next.gif" alt="다음" /></a>
					<a href="javascript:void(0);"><img src="/theme/<?=$_theme?>/images/common/btn_next2.gif" class="ml6" alt="마지막" /></a>
				</div>
			</div>  -->
			<!--[e] 페이징 -->

			<!--[s] Tip -->
			<dl id="tip" class="mt30">
				<dt>Tip</dt>
				<dd>인터넷익스플로러의 '호환성보기' 기능을 사용중인 접속자에게 자동으로 최신버전 기준으로 사이트를 출력하도록 처리합니다.</dd>
				<dd>코딩방식에 따라 특정 버전의 브라우저에서 사이트가 깨질수 있으니, 충분한 테스트 후 기능을 설정해 주시기 바랍니다.</dd>
			</dl>
			<!--[e] Tip -->
		</div>
		<!--[e] 신규 회원가입 -->

		